\documentclass{minimal}
\begin{document}

Foo.\cite{

\bibliography{refs}
\bibliographystyle{plainnat}

\end{document}
